import {defineStore} from 'pinia';
import {ref} from 'vue';

export const useCommonStore = defineStore(
    'common',   
    ()=>{
        const mobileMenuVisible = ref(false); // 移动端菜单是否可见
        // 修改移动端菜单属性
        const changeMobileMenuVisible = (visible: boolean) => {
            mobileMenuVisible.value = visible;
        }

        const lelelogo =ref("@/assets/images/lelelogo.png");
        
        return {
            mobileMenuVisible, changeMobileMenuVisible,lelelogo
        }
    }

)